import request from "@/api/request";

//学员列表
export function studentList(data) {
  return request({
    url: '/admin/xy/student/list',
    method: 'get',
    data
  })
}

//新增学员
export function studentSave(data) {
  return request({
    url: '/admin/xy/student/save',
    method: 'post',
    data
  })
}
//删除学员
export function studentDel(data) {
  return request({
    url: '/admin/xy/student/del',
    method: 'get',
    data
  })
}
//学员明细
export function studentDetail(data) {
  return request({
    url: '/admin/xy/student/detail',
    method: 'get',
    data
  })
}
//学员更新
export function studentUpdate(data) {
  return request({
    url: '/admin/xy/student/update',
    method: 'post',
    data
  })
}
//学员更新
export function costList(data) {
  return request({
    url: '/admin/xy/cost/list',
    method: 'get',
    data
  })
}